package com.gxa.pojo.cm;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gxa.pojo.Empl;

import java.sql.Date;
import java.sql.Timestamp;

/**
 * 客户信息 实体类
 */
public class Customer {

    private Integer id;
    private Empl createEmp;
    private Empl updateEmp;
    private String no;
    private String name;
    private Integer gender;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private java.sql.Date birthday;
    private Integer type;
    private Integer valueLevel;
    private Integer credit;
    private Integer status;
    private Integer assignStatus;
    private String tel;
    private String officeTel;
    private String homeTel;
    private String email;
    private String addr;
    private String note;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private java.sql.Timestamp createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private java.sql.Timestamp updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Empl getCreateEmp() {
        return createEmp;
    }

    public void setCreateEmp(Empl createEmp) {
        this.createEmp = createEmp;
    }

    public Empl getUpdateEmp() {
        return updateEmp;
    }

    public void setUpdateEmp(Empl updateEmp) {
        this.updateEmp = updateEmp;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getValueLevel() {
        return valueLevel;
    }

    public void setValueLevel(Integer valueLevel) {
        this.valueLevel = valueLevel;
    }

    public Integer getCredit() {
        return credit;
    }

    public void setCredit(Integer credit) {
        this.credit = credit;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getAssignStatus() {
        return assignStatus;
    }

    public void setAssignStatus(Integer assignStatus) {
        this.assignStatus = assignStatus;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getOfficeTel() {
        return officeTel;
    }

    public void setOfficeTel(String officeTel) {
        this.officeTel = officeTel;
    }

    public String getHomeTel() {
        return homeTel;
    }

    public void setHomeTel(String homeTel) {
        this.homeTel = homeTel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", createEmp=" + createEmp +
                ", updateEmp=" + updateEmp +
                ", no='" + no + '\'' +
                ", name='" + name + '\'' +
                ", gender=" + gender +
                ", birthday=" + birthday +
                ", type=" + type +
                ", valueLevel=" + valueLevel +
                ", credit=" + credit +
                ", status=" + status +
                ", assignStatus=" + assignStatus +
                ", tel='" + tel + '\'' +
                ", officeTel='" + officeTel + '\'' +
                ", homeTel='" + homeTel + '\'' +
                ", email='" + email + '\'' +
                ", addr='" + addr + '\'' +
                ", note='" + note + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
